//
//  UIView+Addition.h
//  Project
//
//  Created by  CarlsonLee on 2018/12/12.
//  Copyright © 2018年 YANJING. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (Addition)

@property (nonatomic, assign) CGFloat x;
@property (nonatomic, assign) CGFloat y;
@property (nonatomic, assign) CGFloat centerX;
@property (nonatomic, assign) CGFloat centerY;
@property (nonatomic, assign) CGFloat width;
@property (nonatomic, assign) CGFloat height;
@property (nonatomic, assign) CGSize size;
@property (nonatomic, assign) CGPoint origin;
@property (nonatomic, assign) CGFloat top;
@property (nonatomic, assign) CGFloat bottom;
@property (nonatomic, assign) CGFloat left;
@property (nonatomic, assign) CGFloat right;

/**最大X*/
- (CGFloat)maxX;
/**最小X*/
- (CGFloat)minX;

/**最大Y*/
- (CGFloat)maxY;
/**最小Y*/
- (CGFloat)minY;

@end
